home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Data 2001 April / CD Rom Data Nisan 2001.iso / Internet / data1.cab / Program_Executable_Files / ts2lite.exe / %MAINDIR% / user / templates / bugs.css next >
Encoding:
Cascading Style Sheet File  |  2000-11-30  |  729 b   |  32 lines

  1. /* 
  2.     This style sheet contains examples of common CSS authoriing mistakes
  3.  */
  4.  
  5. .e1 {
  6.     font-size: 2 px;    /* space between number and unit */    
  7. }
  8.  
  9. .e2 {
  10.     font-size: 12;    /* missing length unit */
  11. }
  12.  
  13. .e3 {
  14.     font-family: arial;    /* missing generic font - should add sans-serif */
  15. }
  16.  
  17. .e4 {
  18.     font: sans-serif;    /* the font property requires a font size value */
  19. }
  20.  
  21. .e5 {
  22.     font: 16px sans-serif;
  23.     font-style : italic;    /* shorthand font property already defines font-style */
  24. }
  25.  
  26. .e6 {
  27.     background: red;
  28.     background-color: blue; /*  shorthand background property already defines background-color */
  29. }
  30.  
  31. .e_7 { /* selectors shouldn't contain underscores */ }
  32. .1e8 { /* selectors shouldn't start with a number  */ }